package ls.ch03.demo.demo8;

import ls.ch03.demo.demo6.Buyer;
import org.apache.log4j.Logger;

/**
 * @author ls
 * @Date 创建时间:2022/4/8 13:41
 * 描述:
 */

public class Test8 {
    private static Logger logger = Logger.getLogger(Test8.class);
    public static void main(String[] args) {
        Buyer buyer = IntermediaryJdkProxyFactory.create(new RealBuyer());
        String result = buyer.havealook();
        logger.debug(result);
    }
}
